$OpenBSD: patch-src_webserver_src_php_lexer_c,v 1.1 2011/11/28 15:28:49 dcoppa Exp $
--- src/webserver/src/php_lexer.c.orig	Mon Nov 28 12:17:33 2011
+++ src/webserver/src/php_lexer.c	Mon Nov 28 12:19:01 2011
@@ -31,7 +31,7 @@
 
 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
 
-#if __STDC_VERSION__ >= 199901L
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
 
 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  * if you want the limit (max/min) macros for int types. 
